//
//  BaseResponse.h
//  TLKeepCredit
//
//  Created by 张邦杨 on 16/1/5.
//  Copyright © 2016年 Zby. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BaseModel.h"

static NSString const *kData = @"data";
static NSString const *kMsg = @"msg";
static NSString const *kStatus = @"status";

/*
 *
 *云购 Response
 *
 */
@interface BaseResponse : NSObject
+(instancetype)modelWithDict:(NSDictionary *)dict;


/**接口调用状态标示
 * 1:成功
 * 0:失败
 **/
@property(nonatomic,assign)NSUInteger status;
/*
 *接口调用附加信息
 */
__decl_model_string__ *msg;

@end


#pragma mark ---登录
@interface ResLogin :BaseResponse

__decl_nonatomic_strong_property TLUserModel *data;

@end

#pragma mark ---首页banner
@interface ResHomeBanner :BaseResponse

__decl_model_array__ *data;

@end

#pragma mark ---贷款口子
@interface ResLoanKou :BaseResponse

__decl_model_array__ *data;

@end
#pragma mark ---贷款口子详情
@interface ResLoanKouDetail :BaseResponse
__decl_nonatomic_strong_property ModelLoanKou *data;
@end

#pragma mark ---征信信用分
@interface ResLoanScore :BaseResponse

@property (nonatomic,assign) NSInteger data;

@end
#pragma mark ---问问 资讯
@interface ResQueryNews : BaseResponse
__decl_model_array__ *data;
@end
